﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Platform;

namespace AvaloniaApplication1.Views
{
    public class TestLoadaxaml : Window
    {
        public TestLoadaxaml()
        {
            //StringBuilder sbValue = new StringBuilder();
            //sbValue.AppendLine("     < Window xmlns = \"https://github.com/avaloniaui\"");
            //sbValue.AppendLine(" xmlns: mc = \"http://schemas.openxmlformats.org/markup-compatibility/2006\"");
            //sbValue.AppendLine(" mc: Ignorable = \"d\" d: DesignWidth = \"800\" d: DesignHeight = \"450\"");
            //sbValue.AppendLine(" x: Class = \"AvaloniaApplication1.Views.Window1\"");
            //sbValue.AppendLine(" Title = \"Window1\" >");
            //sbValue.AppendLine("         Welcome to Avalonia!");
            //sbValue.AppendLine("     </ Window >");
            //AvaloniaXamlLoader.Load(sbValue.ToString());
            //var window = (Window)loader.Load(xaml);
        }
    }

   
}
